Skip to content

Use SciMLTesting v1.2 (folder-based run_tests)#200

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:sciml-testing-rollout
Jun 14, 2026
Merged

Use SciMLTesting v1.2 (folder-based run_tests)#200
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:sciml-testing-rollout

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Converts the root umbrella package's test harness to the SciMLTesting v1.2 folder model.

DiffEqProblemLibrary is a monorepo: the lib/* sublibraries are covered by SublibraryCI.yml (the project model), and the root umbrella's own group matrix (test/test_groups.toml) is just Core + QA. The root runtests.jl previously ran the same ExplicitImports QA body for GROUP=All, GROUP=Core, and GROUP=QA, and routed any lib/<sub> sublibrary group to a hand-written Pkg.test pre-step.

This PR:

  • Keeps the monorepo sublibrary routing pre-step verbatim (detect_sublibrary_group + the Julia < 1.11 transitive [sources] develop walk + the Pkg.test with --check-bounds=auto --compiled-modules=yes --depwarn=yes, force_latest_compatible_version = false, allow_reresolve = true, handed off via DIFFEQPROBLEMLIBRARY_TEST_GROUP). This is kept explicit rather than delegated to run_tests's built-in lib_dir path so the sublibrary Pkg.test invocation stays byte-for-byte identical.
  • Delegates the root-package dispatch to run_tests: qa body = the ExplicitImports test, all = ["QA"] so GROUP=All runs it, and a "Core" umbrella expanding to "QA" so GROUP=Core runs it too. core is a no-op (the root has no separate Core body).
  • Adds SciMLTesting to the root and test/qa test environments.
  • Leaves test/test_groups.toml unchanged.

The exact set of tests run under each GROUP value (All/Core/QA -> ExplicitImports QA; each lib/<sub> -> that sublibrary's Pkg.test; unknown group -> nothing) is preserved.

Ignore until reviewed by @ChrisRackauckas.

Convert the root umbrella test harness to SciMLTesting v1.2. The monorepo
sublibrary routing pre-step (detect_sublibrary_group + < 1.11 transitive
[sources] develop walk + Pkg.test handoff via DIFFEQPROBLEMLIBRARY_TEST_GROUP)
is kept verbatim so the sublibrary Pkg.test invocation is byte-for-byte
identical. The root-package dispatch (which ran the same ExplicitImports QA
body for GROUP=All, Core, and QA) is delegated to run_tests via the qa body,
all = ["QA"], and a "Core" umbrella expanding to "QA".

Adds SciMLTesting to the root and qa test envs. test/test_groups.toml is
unchanged.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ChrisRackauckas-Claude ChrisRackauckas-Claude changed the title Convert test harness to SciMLTesting.run_tests (v1.1.0) Use SciMLTesting v1.2 (folder-based run_tests) Jun 14, 2026
@ChrisRackauckas ChrisRackauckas marked this pull request as ready for review June 14, 2026 23:54
@ChrisRackauckas ChrisRackauckas merged commit ff9d114 into SciML:master Jun 14, 2026
17 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants